package com.bocai.yuweiwangluo.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by admin on 2015/12/16.
 */
public class MessageListBean implements Serializable{

    /**
     * total : 1
     * page : 1
     * each : 6
     * data : [{"id":"2","title":"免费发布信息，免费寻找信息","content":null,"timeline":"1402147360","type_id":"-1","nickname":null}]
     */

    private int total;
    private int page;
    private int each;
    /**
     * id : 2
     * title : 免费发布信息，免费寻找信息
     * content : null
     * timeline : 1402147360
     * type_id : -1
     * nickname : null
     */

    private List<DataEntity> data;


    public void setTotal(int total) {
        this.total = total;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public void setEach(int each) {
        this.each = each;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public int getPage() {
        return page;
    }

    public int getEach() {
        return each;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity implements Serializable{
        private String id;
        private String title;
        private String content;
        private String timeline;
        private String type_id;
        private String nickname;
        private String is_read;

        public String getIs_read() {
            return is_read;
        }

        public void setIs_read(String is_read) {
            this.is_read = is_read;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setTimeline(String timeline) {
            this.timeline = timeline;
        }

        public void setType_id(String type_id) {
            this.type_id = type_id;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getId() {
            return id;
        }

        public String getTitle() {
            return title;
        }

        public String getContent() {
            return content;
        }

        public String getTimeline() {
            return timeline;
        }

        public String getType_id() {
            return type_id;
        }

        public String getNickname() {
            return nickname;
        }
    }
}
